iot.pmd.onMsg = function(evtId,param){
    print('evtId:'+evtId+" param"+(Duktape.enc('jx',param)))
}
iot.pmd.init(iot.pmd.DEFAULT,iot.pmd.defaultChargeCfg)
print('pmd test end')